package com.superlc.ssm.modular.sys.service;

import java.util.List;
import com.superlc.ssm.modular.sys.model.UserInfo;
public interface UserInfoService{

    int insert(UserInfo userInfo);

    int insertSelective(UserInfo userInfo);

    int insertList(List<UserInfo> userInfos);

    int update(UserInfo userInfo);

    UserInfo getUserAllInfoByUserName(String username) ;

    UserInfo getOnlyUserinfoByUserName(String username);

    int addRoleToUserById(Integer uid,Integer roleId);
}
